var Radio=require('./radio');
var radio1=new Radio("music radio",'FM 106.7');

radio1.on('play',()=>{
    radio1.play();
})
radio1.on('stop',()=>{
    radio1.stop();
})

radio1.emit('play')
setTimeout(() => {
    console.log('lalalala')
    radio1.emit('stop')
}, 2000);
